<template>
  <div class="app">
    <div class="swipe">
      <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white" :height="100">
      <van-swipe-item>
        <img src="../assets/banner.png" alt="">
      </van-swipe-item>
      <van-swipe-item>
        <img src="../assets/banner.png" alt="">
        </van-swipe-item>
      <van-swipe-item><img src="../assets/banner.png" alt=""></van-swipe-item>
      <van-swipe-item><img src="../assets/banner.png" alt=""></van-swipe-item>
      </van-swipe>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.my-swipe .van-swipe-item {
    color: #fff;
    font-size: 20px;
    line-height: 150px;
    text-align: center;
    background-color: #39a9ed;
  }
.swipe{
  padding: 15px 10px;
  box-sizing: border-box;
  .my-swipe{
    border-radius: 8px;
  }
}
</style>